#

pkgname=pywebkitgtk
pkgver=1.1.8
pkgrel=1
pkgdesc="Python bindings for the WebKit GTK+ port"
arch=('ppc')
url="http://code.google.com/p/pywebkitgtk/"
license=('GPL2')
depends=('libwebkit' 'python2' 'libxslt' 'glib2' 'pygtk' 'pygobject')
makedepends=('pkg-config' 'libtool')
source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
md5sums=('19f3c184eebcfde1c9d1ce56bbe75cf2')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	sh configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static

	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make DESTDIR="${pkgdir}" install
}
